<?php

use yii\db\Schema;
use yii\db\Migration;

class m150625_043246_solution_add extends Migration
{
    public function up()
    {
    	$this->addColumn('{{%solution}}', 'solution_audit', "int(1) NOT NULL DEFAULT '0' COMMENT '表示策略是否被同意投放 0 不同意 1 同意' after adspace_type ");
    }

    public function down()
    {
        $this->dropColumn('{{%solution}}', 'solution_audit');
        return true;
    }
}
